/**
 * 
 */
package edu.rit.cs.ws.infos;

import java.io.Serializable;

import edu.rit.cs.core.pojos.Symbol;

/**
 * A class representation of the information returned by an inquiry.
 * 
 * @author Abhishek Shrestha (axs1430)
 * @author Juan Saldana (jjs6109)
 * @author Victor Alvarez (vxa1557)
 */
public class SymbolInfo implements Serializable {

  private static final long serialVersionUID = 1L;

  private String symbol;
  private String fullname;

  public SymbolInfo() { }

  public SymbolInfo(Symbol s) {
    setSymbol(s.getId());
    setFullname(s.getFullname());
  }

  /**
   * @return the symbol
   */
  public String getSymbol() {
    return symbol;
  }

  /**
   * @param symbol the symbol to set
   */
  public void setSymbol(String symbol) {
    this.symbol = symbol;
  }

  /**
   * @return the fullname
   */
  public String getFullname() {
    return fullname;
  }

  /**
   * @param fullname the fullname to set
   */
  public void setFullname(String fullname) {
    this.fullname = fullname;
  }
}
